//
//  HSYWithDrawRequest.m
//  HSY
//
//  Created by 陈浩 on 2017/4/7.
//  Copyright © 2017年 金开门. All rights reserved.
//

#import "HSYWithDrawRequest.h"

@implementation HSYWithDrawRequest

- (NSString *)serviceCode{
    return API_SERVICE_CODE_WITHDRAW;
}

- (NSDictionary *)requestData{
    NSAssert(self.accountId.length > 0, @"账户id不能为空");
    NSAssert(self.totalAmount.length > 0, @"提现金额不能为空");
    NSAssert(self.channel.length > 0, @"channel不能为空");
    NSAssert(self.verifyCode.length > 0, @"验证码不能为空");

    NSMutableDictionary *params = [@{} mutableCopy];
    params[@"accountId"] = self.accountId;
    params[@"totalAmount"] = self.totalAmount;
    params[@"channel"] = self.channel;
    params[@"verifyCode"] = self.verifyCode;
    
    return params;
}


@end
